package com.mvc.gulimall.product.feign;


import com.mvc.common.To.SkuReductionTo;
import com.mvc.common.To.SpuBoundTo;
import com.mvc.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("couponsrvice")
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);
    @PostMapping("/coupon/skufullreduction/saceinfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
